﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CCRelease.aspx.cs" Inherits="WMS6.Web.Inventory.CCRelease" meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>CCRelease</title>
   <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />
    <script src="../Js/jquery.js" type="text/javascript"></script>
    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>
    <script src="../Js/util.js" id="js" type="text/javascript"></script>
    <script src="../Js/InitPage.js" type="text/javascript"></script>    
    
    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initEditNewPage();
        }
        //弹出窗口选择筛选条件
        function selectLocSelection() {
            var rtnValue = popModalWindow('../Configuration/LocSelectionQuery.aspx?action=txtAllocateFilter&RECORDTYPE=allocSel', 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if (rtnValue != null && rtnValue.toString() != "") {
                document.getElementById('txtLocSelect').focus();
                document.getElementById('txtLocSelect').value = rtnValue;
            }
        }
   </script>     
</head>
<body>
    <form id="F5510" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom">
                        <asp:Label ID="lblAllocateRule" runat="server" CssClass="label_header" 
                            Text="发放盘点" ></asp:Label>
                    </td>
                    <td>
                        <asp:Button ID="btnSave" runat="server" CssClass="button" Enabled="False" Text="<%$Resources:ButtonResource,btnSave%>"
                            AccessKey="s" onclick="btnSave_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnRelease" runat="server" CssClass="button" Enabled="False" 
                            Text="<%$Resources:ButtonResource,btnRelease%>" onclick="btnRelease_Click" />
                    </td>
                </tr>
            </table>
        </div>
        
        <asp:UpdatePanel ID="up1" runat="server">
            <ContentTemplate>
            <div>
                <asp:Label ID="lblMsg" runat="server" CssClass="label_message" 
                    meta:resourcekey="lblMsg"></asp:Label>
            </div>
            
            <div id="div_menu">
            <div style="float: left; width: 8px;">
                <div class="tabL" id="divL1"></div>
            </div>
            <div style="float:left;" class="tabLabelCont tabCur" onclick="setTab('one',1,1)" id="divM1">
                <asp:Label ID="one1" CssClass="hover" runat="server" 
                    meta:resourcekey="one1">常规</asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR" id="divR1"></div>
            </div>       
        </div>
        
        
        <div id="div_content">
             <div id="con_one_1" style="display: block;">
                 <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                     <tr>
                         <td width="180">
                             <asp:Label  ID="lblQty" runat="server" CssClass="label" Text="数量上限" 
                                 meta:resourcekey="lblQty" ></asp:Label><span class="must_input">*</span>
                         </td>
                         <td width="180">
                             &nbsp;</td>
                         <td width="180">
                             &nbsp;</td>
                         <td width="180">
                             &nbsp;</td>
                     </tr>
                     <tr>
                         <td>
                             <asp:TextBox ID="txtMaxCounts" runat="server" CssClass="textbox" MaxLength="30" 
                                 meta:resourcekey="txtMaxCounts">5</asp:TextBox>
                         </td>
                         <td>
                             &nbsp;</td>
                         <td>
                             &nbsp;</td>
                          <td>
                              &nbsp;</td>
                     </tr>
                     <tr>
                         <td width="180">
                             <asp:Label ID="lblDay" runat="server" CssClass="label" Text="盘点间隔天数" 
                                 meta:resourcekey="lblDay"></asp:Label>
                         </td>
                         <td width="180">
                           <asp:Label ID="lblQty1" runat="server" CssClass="label" Text="盘点数量小于" 
                                 meta:resourcekey="lblQty1"></asp:Label>
                         
                             &nbsp;</td>
                         <td width="180">
                             &nbsp;</td>
                         <td width="180">
                             &nbsp;</td>
                     </tr>
                     <tr>
                         <td>
                             <asp:TextBox ID="txtDay" runat="server" CssClass="textbox" MaxLength="100" 
                                 meta:resourcekey="txtDay">3</asp:TextBox>
                         </td>
                         <td>
                             <asp:TextBox ID="txtQtyLessThan" runat="server" CssClass="textbox" 
                                 MaxLength="100" meta:resourcekey="txtQtyLessThan">10</asp:TextBox>
                          </td>
                         <td>
                             &nbsp;</td>
                          <td>
                              &nbsp;</td>
                     </tr>
                      <tr>
                         <td width="180">
                             <asp:Label ID="lblLocSelect" runat="server" CssClass="label" Text="货位筛选条件" 
                                 meta:resourcekey="lblLocSelect"></asp:Label>
                         </td>
                         <td width="180">
                             &nbsp;</td>
                         <td width="180">
                             &nbsp;</td>
                         <td width="180">
                             &nbsp;</td>
                     </tr>
                     <tr>
                         <td >
                             <asp:TextBox ID="txtLocSelect" runat="server" CssClass="textbox" 
                                 MaxLength="100" meta:resourcekey="txtLocSelect"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectLocSelection();"/>
                         </td>
                         
                         <td>
                             &nbsp;</td>
                          <td>
                              &nbsp;</td>
                     </tr>                    
                     <tr style="height:10px;">
                         <td width="180"></td>
                         <td width="180"></td>
                         <td width="180"></td>
                         <td width="180"></td>
                     </tr>
                     <tr>
                         <td>
                            <asp:CheckBox ID="chkInclZeroCount" runat="server" CssClass="checkbox" 
                                 Text="显示系统数量" Checked="True" 
                                 meta:resourcekey="chkInclZeroCount" />
                         </td>
                         <td></td>
                         <td></td>
                         <td></td>
                     </tr>
                       <tr>
                         <td>
                            <asp:CheckBox ID="chkShowQty" runat="server" CssClass="checkbox" 
                                 Text="包括数量为0的盘点" meta:resourcekey="chkShowQty"  />
                         </td>
                         <td></td>
                         <td></td>
                         <td></td>
                     </tr>
                      <tr>
                         <td>
                            <asp:CheckBox ID="chkRequestOnly" runat="server" CssClass="checkbox"  Checked="true"
                                 Text="仅请求盘点" meta:resourcekey="chkRequestOnly" />
                         </td>
                         <td></td>
                         <td></td>
                         <td></td>
                     </tr>
          
                 </table>
             </div>
        </div>           
                <input id="hdnCcCriteriaID" type="hidden" runat="server" />
              
            </ContentTemplate>          
        </asp:UpdatePanel>     
        
    </div>
             
    </form>
</body>
</html>
